﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using DBEmr.Model;

namespace DBUtility
{
    public class Set
    {
        public static string path = "";
        public static string cameraPath = "";

        //医院名称
        //public static string STRING_HOSPITAL = "成 都 西 南 骨 科 医 院";
        //public static string STRING_HOSPITAL_NAME = "成都西南骨科医院";
        public static string STRING_HOSPITAL = "内 蒙 古 根 河 市 中 医 院";
        public static string STRING_HOSPITAL_NAME = "内蒙古根河市中医院";
        //public static string STRING_HOSPITAL = "莒 县 妇 幼 保 健 院";
        //public static string STRING_HOSPITAL_NAME = "莒县妇幼保健院";
        public static string STRING_HOSPITAL_CODE = "46053145-1";

        //public static string STRING_HOSPITAL = "江 苏 省 第 四 人 民 医 院";
        //public static string STRING_HOSPITAL = "潍 坊 四 院 大 柳 树 分 院";
        //public static string STRING_HOSPITAL_NAME = "潍坊四院大柳树分院";

        //public static string STRING_HOSPITAL_NAME = "扬州洪泉医院";
        //public static string STRING_HOSPITAL = "扬 州 洪 泉 医 院";

        //链接数据库类别HIS
        public static int ConType = 1; //0/1:oracle/sql server
        //public static IUser  = new ArrayList();

        //字典类型变量
        public static ArrayList LIST_NAION = new ArrayList();
        public static ArrayList LIST_CONTRY = new ArrayList();
        public static ArrayList LIST_OCC = new ArrayList();

        //导入类型：
        public static ArrayList SYSLIST=new ArrayList();
        public static ArrayList EMP_LIST = new ArrayList();
        public static ArrayList DEP_LIST = new ArrayList();

        //纸张类型
        public static ArrayList PAGES_LIST = new ArrayList();
        public static string PAGES_KIND;

        public static string SQL_HIS_DEP = "1GETDEP获取科室";
        public static string SQL_HIS_EMP = "2GETEMP获取医生";
        public static string SQL_HIS_USER = "3GETUSER获取操作员";
        public static string SQL_HIS_DEPEMR = "4GETDEPEMP获取科室医生关系";
        public static string SQL_HIS_PATIENT_MAIN = "GETPAIENTMAIN获取病人信息头";
        public static string SQL_HIS_PATIENT_INFO = "GETPAIENTINFO获取病人信息";
        public static string SQL_HIS_CQYZ = "长期医嘱";
        public static string SQL_HIS_LSYZ = "临时医嘱";
        public static string SQL_HIS_FYB = "费用表";
        public static string SQL_HIS_SSXMB = "手术项目表";
        //insert into CONFIG_SQL(id,sql_id,Sql_Content,sql_description,sql_type,sql_kind) values(17,'GETPAIENTINFO获取病人信息','s','s',1,1)

        //消息
        public static string MSG_DEADLINE = "试用期已过，请与软件开发商联系QQ:54827045！";
        public static string MSG_DATA_EXCEPTION = "数据库链接异常，请联系管理员！";
        public static string MSG_MBSZ_EXISTFILE = "已经存在该病历文书！";
        //是否显示Marklist
        public static bool SHOW_MARKLIST = false;
        public static int SHOW_MARK_INT = 1;
        //登录用户
        public static string STRING_USER_NAME = "";
        public static string STRING_USER_CODE = "";
        public static string STRING_USER_ID = "";
        public static string STRING_DEP_ID = "";
        public static EMPLOYEE EMPLOYEE_CURRENT;

        //体温单
        public static string STRING_MEASURE_NAME = "Measure";
        public static string STRING_MEASURE_TOPIC = "体温单";
        public static string STRING_MEASURE_CLASS = "AM";
        public static string STRING_MEASURE_TITLE = "体 温 记 录 单";
        public static string STRING_MEASURE_PAGE = "A4";

        //工具箱listView类别
        public static string TOOL__BASICELEMENT = "lv_BasicElement";
        public static string TOOL__PATIENTINFO = "";
        public static string TOOL__SIGNITMES = "lv_Symbol";
        public static string TOOL__PICTURE = "lv_Picture"; 

        //数据库配置
        public static string DATABASE_CONNECTION = "";
        public static string DATABASE_CONNECTION_HIS = "server=192.168.2.250;database=taohis;uid=gsnsoft;pwd=dgesignsoft;";
        //public static string DATABASE_CONNECTION_HIS = "server=192.168.2.249;database=taohiss;uid=sa;pwd=dgesignsoft;";
        public static string SYSTEM_DATE_STRING = ""; 


    }
}
